Scheduler for WinForms | ComponentOne
C1.Win.C1Schedule.4.5.2 Assembly / C1.C1Schedule Namespace / BaseList<T> Class / InsertItem Method
The zero-based index of the item to insert.
The object to insert.

In This Topic
    InsertItem Method (BaseList<T>)
    In This Topic
    Overrides default behavior of Collection. Prevents from adding items non-existent in the parent collection.
    Syntax
    'Declaration
     
    Protected Overrides Sub InsertItem( _
       ByVal index As System.Integer, _
       ByVal item As T _
    ) 
    protected override void InsertItem( 
       System.int index,
       T item
    )

    Parameters

    index
    The zero-based index of the item to insert.
    item
    The object to insert.
    See Also